package com.yuanfeng.commoms.vo.user;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @ClassName SysLogVO
 * @Description 操作日志
 * @Author hyq
 * @Date 2023/6/14 16:54
 * @Version 1.0
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysLogVO {

    private Long id;

    private String userid;

    private String username; //用户名

    private String operation; //操作

    private String method; //方法名

    private String logParam; //参数

    private String logIp; //ip地址

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
}
